Microsoft Visual Basic for Applications (VBA) is an object-based programming environment designed to provide rich development capabilities. The main difference between VBA and VB (Visual Basic 6) is that VBA runs in the same process space as AutoCAD, providing an AutoCAD-intelligent and very fast programming environment.
You load a VBA project with the VBALOAD command. Once loaded, its modules and macros are available in the Macros dialog box.
You can load VBA projects automatically each time you run AutoCAD.